Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bitnami/external-dns] add default pihole.password value #27158

Merged
merged 7 commits into from
Jul 8, 2024

Conversation

jamesharr
Copy link
Contributor

Description of the change

This change adds a default value for pihole.password. When using a provider other than pihole, such as AWS, the secret.yaml template would fail to render with the following error:

Error: UPGRADE FAILED: template: external-dns/templates/secret.yaml:108:16: executing "external-dns/templates/secret.yaml" at <.Values.pihole.password>: nil pointer evaluating interface {}.password

Benefits

Does not force users who want a different provider to have to configure a pihole password

Possible drawbacks

Applicable issues

Additional information

Checklist

  • Chart version bumped in Chart.yaml according to semver. This is not necessary when the changes only affect README.md files.
  • Variables are documented in the values.yaml and added to the README.md using readme-generator-for-helm
  • Title of the pull request follows this pattern [bitnami/<name_of_the_chart>] Descriptive title
  • All commits signed off and in agreement of Developer Certificate of Origin (DCO)

When not using pihole, the lack of a pihole.password setting would cause the template to fail since it expects the key to exist.

Signed-off-by: James Harr <[email protected]>
Signed-off-by: Bitnami Containers <[email protected]>
@carrodher carrodher added verify Execute verification workflow for these changes in-progress labels Jun 14, 2024
@github-actions github-actions bot removed the triage Triage is needed label Jun 14, 2024
@github-actions github-actions bot removed the request for review from carrodher June 14, 2024 07:21
@github-actions github-actions bot requested a review from migruiz4 June 14, 2024 07:21
Signed-off-by: Bitnami Containers <[email protected]>
@github-actions github-actions bot added the stale 15 days without activity label Jun 30, 2024
@bitnami bitnami deleted a comment from github-actions bot Jul 2, 2024
@carrodher carrodher removed the stale 15 days without activity label Jul 2, 2024
carrodher and others added 4 commits July 2, 2024 21:26
Signed-off-by: Carlos Rodríguez Hernández <[email protected]>
Signed-off-by: Bitnami Containers <[email protected]>
Signed-off-by: Bitnami Containers <[email protected]>
Copy link
Member

@migruiz4 migruiz4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution and I'm sorry for the late reponse @jamesharr.
Looks good to me!

@migruiz4 migruiz4 merged commit 531123b into bitnami:main Jul 8, 2024
11 checks passed
@jamesharr
Copy link
Contributor Author

No worries @migruiz4, we all have other stuff we're working on.

Grougalorasalar pushed a commit to Grougalorasalar/charts that referenced this pull request Jul 8, 2024
* add default pihole.password value

When not using pihole, the lack of a pihole.password setting would cause the template to fail since it expects the key to exist.

Signed-off-by: James Harr <[email protected]>

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <[email protected]>

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <[email protected]>

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <[email protected]>

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <[email protected]>

---------

Signed-off-by: James Harr <[email protected]>
Signed-off-by: Bitnami Containers <[email protected]>
Signed-off-by: Carlos Rodríguez Hernández <[email protected]>
Signed-off-by: Miguel Ruiz <[email protected]>
Co-authored-by: Bitnami Containers <[email protected]>
Co-authored-by: Carlos Rodríguez Hernández <[email protected]>
Co-authored-by: Miguel Ruiz <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external-dns solved verify Execute verification workflow for these changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants